package com.wanmait.wisdom.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2024/04/27
*/
@Data
@Accessors(chain = true)
public class Resident implements Serializable {
    private Integer id;

    /**
	* 姓名
	*/
    private String name;

    /**
	* 身份证号(可当作账号)
	*/
    private String card;

    /**
	* 正面
	*/
    private String cardPicFacade;

    /**
	* 反面
	*/
    private String cardPicBack;

    /**
	* 照片
	*/
    private String picture;

    /**
	* 电话1(可当作账号)
	*/
    private String phone1;

    /**
	* 电话2(可当作账号)
	*/
    private String phone2;

    /**
	* 邮箱
	*/
    private String email;

    /**
	* 紧急联系人
	*/
    private String emergencyPerson;

    /**
	* 紧急联系电话1
	*/
    private String emergencyPhone;

    /**
	* 紧急联系电话2
	*/
    private String emergencyPhone2;

    /**
	* 密码
	*/
    private String password;



    /**
	* 车位
	*/
    private Integer parkingId;

    /**
	* 籍贯
	*/
    private String nativePlace;

    /**
	* 添加人
	*/
    private Integer staffId;

    /**
	* 居民类型
	*/
    private Integer residentTypeId;

    @TableField(exist = false)
    private ResidentType residentType;
    /**
	* 添加时间
	*/
    private Date additionTime;

    /**
	* 付款方式
	*/
    private Integer paymentId;

    /**
	* 账号是否可用
	*/
    private Boolean enable;
    //单元id
    private Integer unitId;
    @TableField(exist = false)
    private Unit unit;
    //楼栋id
    private Integer buildingId;
    @TableField(exist = false)
    private Building building;
    /**
     * 房屋id
     */
    private Integer houseId;
    @TableField(exist = false)
    private House house;
    private static final long serialVersionUID = 1L;
}